package itdep.security;

import ga.security.spring.Functions;
import itdep.domain.security.Account;
import itdep.domain.security.Permission;
import itdep.domain.security.Role;
import org.springframework.security.acls.model.ObjectIdentity;

/**
 * @author $Author: ikhalopik $ (latest modification by $Author: ikhalopik $:)
 * @version $Revision: 24 $   $Date: 2010-06-19 10:12:49 +0000 (Sat, 19 Jun 2010) $
 */
public class IisFunctions extends Functions {

	public static Object security(ObjectIdentity object) {
		return cast(object,
				Account.class,
				Role.class,
				Permission.class);
	}

}
